package com.albaforia.loopService;

import android.app.Service;  
import android.content.Intent;  
import android.os.IBinder;  
import android.util.Log;  
import android.widget.Toast;

  
public class MyService extends Service {  
  
    @Override  
    public IBinder onBind(Intent intent) {  
        return null;  
    }  
  
    @Override  
    public void onCreate() {  
        super.onCreate();  
        Log.v("=========", "***** MyService *****: onCreate");  
    }  
  
    @Override  
    public void onStart(Intent intent, int startId) {  
        Log.v("=========", "***** MyService *****: onStart");  
        Toast.makeText(this, "haha", Toast.LENGTH_LONG).show();
    }  
} 